package nl.saxion.ein4b.model;

public class Player {

	private CardStack stack;
	private boolean insured;
	private int betValue;

	public Player() {
		stack = new CardStack();
	}

	public CardStack getStack() {
		return stack;
	}

	public int getCredit() {
		return 0;
	}

	public void setCredit(int credit) {

	}

	public void setInsured() {
		insured = true;
	}

	public boolean isInsured() {
		return insured;
	}

	public String getName() {
		return "ERROR";
	}

	public int getBetValue() {
		return betValue;
	}

	public void setBetValue(int value) {
		betValue += value;
	}

	public String toString() {
		return "naam: " + getName() + " credit:" + getCredit();
	}

}
